package com.dao;

import java.sql.SQLException;
import java.util.List;

import com.vo.News;

public interface NewsDao {
	List<News> findAllNews();
	List<News> findTypeNews(String type);
	News findNewsById(int id);
	boolean addNews(News news);
	boolean deleteNewsById(int id);
	void viewNews(News id);
	boolean modifyNews(News news);
	List<News> findNewsByName(String newsname);
	boolean modifyNewsTimes(News news);
	News findHotNews();
	News findNewNews();
}
